home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Light ROM 1
/
LIGHT-ROM 1 (Amiga Library Services)(1994).iso
/
ffdisks
/
d912.lha
/
Yak
/
Source
/
Source.lha
/
popup_locale_strings.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-02
|
16KB
|
469 lines
#ifndef POPUP_LOCALE_STRINGS_H
#define POPUP_LOCALE_STRINGS_H
/****************************************************************************/
/* This file was created automatically by CatComp.
* Do NOT edit by hand!
*/
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifdef CATCOMP_ARRAY
#undef CATCOMP_NUMBERS
#undef CATCOMP_STRINGS
#define CATCOMP_NUMBERS
#define CATCOMP_STRINGS
#endif
#ifdef CATCOMP_BLOCK
#undef CATCOMP_STRINGS
#define CATCOMP_STRINGS
#endif
/****************************************************************************/
#ifdef CATCOMP_NUMBERS
#define COPYRIGHT_STRING 0
#define TOGGLES_STRING 1
#define INCLUSION_PATTERNS_STRING 2
#define MISCELLANEOUS_STRING 3
#define TIMEOUT_STRING 4
#define HIDE_STRING 5
#define QUIT_STRING 6
#define AUTOPOINT_STRING 7
#define KEY_ACTIVATE_STRING 8
#define CLICK_TO_FRONT_STRING 9
#define CLICK_TO_BACK_STRING 10
#define SCREEN_TO_BACK_STRING 11
#define WILD_STAR_STRING 12
#define SCREEN_ACTIVATE_STRING 13
#define AUTOPOPTOFRONT_STRING 14
#define MOUSEBLANK_METHOD_STRING 15
#define NONE_STRING 16
#define SPRITES_STRING 17
#define COPPER_STRING 18
#define RMB_ACTIVATE_STRING 19
#define EDIT_HOTKEYS_STRING 20
#define AUTOSCREENS_STRING 21
#define CLICKSCREENS_STRING 22
#define POPWINDOWS_STRING 23
#define CLICKWINDOWS_STRING 24
#define CLICKVOLUME_STRING 25
#define SCREENTIMEOUT_STRING 26
#define MOUSETIMEOUT_STRING 27
#define PROJECT_STRING 28
#define LOAD_SETTINGS_STRING 29
#define LOAD_SHORTCUT 30
#define SAVE_SETTINGS_STRING 31
#define SAVE_SHORTCUT 32
#define HIDE_WINDOW_STRING 33
#define HIDE_SHORTCUT 34
#define QUIT_SHORTCUT 35
#define Credits_STRING 36
#define Credits_Line1_STRING 37
#define Credits_Line2_STRING 38
#define Credits_Line3_STRING 39
#define Credits_Line4_STRING 40
#define Credits_Line5_STRING 41
#define HOTKEY_DEFINITIONS_STRING 42
#define HOTKEYS_STRING 43
#define ACTIONS_STRING 44
#define ARGUMENT_STRING 45
#define OPTIONS_STRING 46
#define NO_SCREEN_CHANGE_STRING 47
#define WORKBENCH_TO_FRONT_STRING 48
#define DEFAULT_PUBSCR_TO_FRONT_STRING 49
#define ADD_STRING 50
#define DELETE_STRING 51
#define RETURN_STRING 52
#define DOS_Command_ACT 53
#define Close_Window_ACT 54
#define Zip_Window_ACT 55
#define Shrink_Window_ACT 56
#define Expand_Window_ACT 57
#define Cycle_Windows_ACT 58
#define Open_Palette_ACT 59
#define Screen_to_Front_ACT 60
#define Screen_to_Back_ACT 61
#define Activate_Workbench_ACT 62
#define Centre_Screen_ACT 63
#define Blank_Display_ACT 64
#define Insert_Text_ACT 65
#define Insert_Date_ACT 66
#define Show_Yak_Interface_ACT 67
#define NB_CATALOG_STRINGS 68
#endif /* CATCOMP_NUMBERS */
/****************************************************************************/
#ifdef CATCOMP_STRINGS
#define COPYRIGHT_STRING_STR "Yak © 1992,1993 Martin W Scott & Gaël Marziou"
#define TOGGLES_STRING_STR "Toggles"
#define INCLUSION_PATTERNS_STRING_STR "Inclusion Patterns"
#define MISCELLANEOUS_STRING_STR "Miscellaneous"
#define TIMEOUT_STRING_STR "Time Out"
#define HIDE_STRING_STR "Hide"
#define QUIT_STRING_STR "Quit"
#define AUTOPOINT_STRING_STR "AutoPoint"
#define KEY_ACTIVATE_STRING_STR "Key Activate"
#define CLICK_TO_FRONT_STRING_STR "Click To Front"
#define CLICK_TO_BACK_STRING_STR "Click To Back"
#define SCREEN_TO_BACK_STRING_STR "Screen To Back"
#define WILD_STAR_STRING_STR "Wild star"
#define SCREEN_ACTIVATE_STRING_STR "Screen Activate"
#define AUTOPOPTOFRONT_STRING_STR "AutoPopToFront"
#define MOUSEBLANK_METHOD_STRING_STR "MouseBlank Method"
#define NONE_STRING_STR "None"
#define SPRITES_STRING_STR "Sprites"
#define COPPER_STRING_STR "Copper"
#define RMB_ACTIVATE_STRING_STR "RMB Activate"
#define EDIT_HOTKEYS_STRING_STR "Edit Hotkeys..."
#define AUTOSCREENS_STRING_STR "AutoScreens"
#define CLICKSCREENS_STRING_STR "ClickScreens"
#define POPWINDOWS_STRING_STR "PopWindows"
#define CLICKWINDOWS_STRING_STR "ClickWindows"
#define CLICKVOLUME_STRING_STR "ClickVolume"
#define SCREENTIMEOUT_STRING_STR "ScreenTimeOut"
#define MOUSETIMEOUT_STRING_STR "MouseTimeOut"
#define PROJECT_STRING_STR "Project"
#define LOAD_SETTINGS_STRING_STR "Load Settings"
#define LOAD_SHORTCUT_STR "L"
#define SAVE_SETTINGS_STRING_STR "Save Settings"
#define SAVE_SHORTCUT_STR "S"
#define HIDE_WINDOW_STRING_STR "Hide Window"
#define HIDE_SHORTCUT_STR "H"
#define QUIT_SHORTCUT_STR "Q"
#define Credits_STRING_STR "Credits"
#define Credits_Line1_STRING_STR " Thanks to"
#define Credits_Line2_STRING_STR "Martin W. Scott"
#define Credits_Line3_STRING_STR " who"
#define Credits_Line4_STRING_STR " wrote the"
#define Credits_Line5_STRING_STR "original version"
#define HOTKEY_DEFINITIONS_STRING_STR "Hotkey Definitions"
#define HOTKEYS_STRING_STR "_HotKeys"
#define ACTIONS_STRING_STR "A_ctions"
#define ARGUMENT_STRING_STR "Argumen_t"
#define OPTIONS_STRING_STR "_Options"
#define NO_SCREEN_CHANGE_STRING_STR "No Screen Change"
#define WORKBENCH_TO_FRONT_STRING_STR "Workbench to Front"
#define DEFAULT_PUBSCR_TO_FRONT_STRING_STR "Default PubScr to Front"
#define ADD_STRING_STR "_Add"
#define DELETE_STRING_STR "_Delete"
#define RETURN_STRING_STR "_Return..."
#define DOS_Command_ACT_STR "DOS Command"
#define Close_Window_ACT_STR "Close Window"
#define Zip_Window_ACT_STR "Zip Window"
#define Shrink_Window_ACT_STR "Shrink Window"
#define Expand_Window_ACT_STR "Expand Window"
#define Cycle_Windows_ACT_STR "Cycle Windows"
#define Open_Palette_ACT_STR "Open Palette"
#define Screen_to_Front_ACT_STR "Screen to Front"
#define Screen_to_Back_ACT_STR "Screen to Back"
#define Activate_Workbench_ACT_STR "Activate Workbench"
#define Centre_Screen_ACT_STR "Centre Screen"
#define Blank_Display_ACT_STR "Blank Display"
#define Insert_Text_ACT_STR "Insert Text"
#define Insert_Date_ACT_STR "Insert Date"
#define Show_Yak_Interface_ACT_STR "Show Yak Interface"
#define NB_CATALOG_STRINGS_STR ""
#endif /* CATCOMP_STRINGS */
/****************************************************************************/
#ifdef CATCOMP_ARRAY
struct CatCompArrayType
{
LONG cca_ID;
STRPTR cca_Str;
};
static const struct CatCompArrayType CatCompArray[] =
{
{COPYRIGHT_STRING,(STRPTR)COPYRIGHT_STRING_STR},
{TOGGLES_STRING,(STRPTR)TOGGLES_STRING_STR},
{INCLUSION_PATTERNS_STRING,(STRPTR)INCLUSION_PATTERNS_STRING_STR},
{MISCELLANEOUS_STRING,(STRPTR)MISCELLANEOUS_STRING_STR},
{TIMEOUT_STRING,(STRPTR)TIMEOUT_STRING_STR},
{HIDE_STRING,(STRPTR)HIDE_STRING_STR},
{QUIT_STRING,(STRPTR)QUIT_STRING_STR},
{AUTOPOINT_STRING,(STRPTR)AUTOPOINT_STRING_STR},
{KEY_ACTIVATE_STRING,(STRPTR)KEY_ACTIVATE_STRING_STR},
{CLICK_TO_FRONT_STRING,(STRPTR)CLICK_TO_FRONT_STRING_STR},
{CLICK_TO_BACK_STRING,(STRPTR)CLICK_TO_BACK_STRING_STR},
{SCREEN_TO_BACK_STRING,(STRPTR)SCREEN_TO_BACK_STRING_STR},
{WILD_STAR_STRING,(STRPTR)WILD_STAR_STRING_STR},
{SCREEN_ACTIVATE_STRING,(STRPTR)SCREEN_ACTIVATE_STRING_STR},
{AUTOPOPTOFRONT_STRING,(STRPTR)AUTOPOPTOFRONT_STRING_STR},
{MOUSEBLANK_METHOD_STRING,(STRPTR)MOUSEBLANK_METHOD_STRING_STR},
{NONE_STRING,(STRPTR)NONE_STRING_STR},
{SPRITES_STRING,(STRPTR)SPRITES_STRING_STR},
{COPPER_STRING,(STRPTR)COPPER_STRING_STR},
{RMB_ACTIVATE_STRING,(STRPTR)RMB_ACTIVATE_STRING_STR},
{EDIT_HOTKEYS_STRING,(STRPTR)EDIT_HOTKEYS_STRING_STR},
{AUTOSCREENS_STRING,(STRPTR)AUTOSCREENS_STRING_STR},
{CLICKSCREENS_STRING,(STRPTR)CLICKSCREENS_STRING_STR},
{POPWINDOWS_STRING,(STRPTR)POPWINDOWS_STRING_STR},
{CLICKWINDOWS_STRING,(STRPTR)CLICKWINDOWS_STRING_STR},
{CLICKVOLUME_STRING,(STRPTR)CLICKVOLUME_STRING_STR},
{SCREENTIMEOUT_STRING,(STRPTR)SCREENTIMEOUT_STRING_STR},
{MOUSETIMEOUT_STRING,(STRPTR)MOUSETIMEOUT_STRING_STR},
{PROJECT_STRING,(STRPTR)PROJECT_STRING_STR},
{LOAD_SETTINGS_STRING,(STRPTR)LOAD_SETTINGS_STRING_STR},
{LOAD_SHORTCUT,(STRPTR)LOAD_SHORTCUT_STR},
{SAVE_SETTINGS_STRING,(STRPTR)SAVE_SETTINGS_STRING_STR},
{SAVE_SHORTCUT,(STRPTR)SAVE_SHORTCUT_STR},
{HIDE_WINDOW_STRING,(STRPTR)HIDE_WINDOW_STRING_STR},
{HIDE_SHORTCUT,(STRPTR)HIDE_SHORTCUT_STR},
{QUIT_SHORTCUT,(STRPTR)QUIT_SHORTCUT_STR},
{Credits_STRING,(STRPTR)Credits_STRING_STR},
{Credits_Line1_STRING,(STRPTR)Credits_Line1_STRING_STR},
{Credits_Line2_STRING,(STRPTR)Credits_Line2_STRING_STR},
{Credits_Line3_STRING,(STRPTR)Credits_Line3_STRING_STR},
{Credits_Line4_STRING,(STRPTR)Credits_Line4_STRING_STR},
{Credits_Line5_STRING,(STRPTR)Credits_Line5_STRING_STR},
{HOTKEY_DEFINITIONS_STRING,(STRPTR)HOTKEY_DEFINITIONS_STRING_STR},
{HOTKEYS_STRING,(STRPTR)HOTKEYS_STRING_STR},
{ACTIONS_STRING,(STRPTR)ACTIONS_STRING_STR},
{ARGUMENT_STRING,(STRPTR)ARGUMENT_STRING_STR},
{OPTIONS_STRING,(STRPTR)OPTIONS_STRING_STR},
{NO_SCREEN_CHANGE_STRING,(STRPTR)NO_SCREEN_CHANGE_STRING_STR},
{WORKBENCH_TO_FRONT_STRING,(STRPTR)WORKBENCH_TO_FRONT_STRING_STR},
{DEFAULT_PUBSCR_TO_FRONT_STRING,(STRPTR)DEFAULT_PUBSCR_TO_FRONT_STRING_STR},
{ADD_STRING,(STRPTR)ADD_STRING_STR},
{DELETE_STRING,(STRPTR)DELETE_STRING_STR},
{RETURN_STRING,(STRPTR)RETURN_STRING_STR},
{DOS_Command_ACT,(STRPTR)DOS_Command_ACT_STR},
{Close_Window_ACT,(STRPTR)Close_Window_ACT_STR},
{Zip_Window_ACT,(STRPTR)Zip_Window_ACT_STR},
{Shrink_Window_ACT,(STRPTR)Shrink_Window_ACT_STR},
{Expand_Window_ACT,(STRPTR)Expand_Window_ACT_STR},
{Cycle_Windows_ACT,(STRPTR)Cycle_Windows_ACT_STR},
{Open_Palette_ACT,(STRPTR)Open_Palette_ACT_STR},
{Screen_to_Front_ACT,(STRPTR)Screen_to_Front_ACT_STR},
{Screen_to_Back_ACT,(STRPTR)Screen_to_Back_ACT_STR},
{Activate_Workbench_ACT,(STRPTR)Activate_Workbench_ACT_STR},
{Centre_Screen_ACT,(STRPTR)Centre_Screen_ACT_STR},
{Blank_Display_ACT,(STRPTR)Blank_Display_ACT_STR},
{Insert_Text_ACT,(STRPTR)Insert_Text_ACT_STR},
{Insert_Date_ACT,(STRPTR)Insert_Date_ACT_STR},
{Show_Yak_Interface_ACT,(STRPTR)Show_Yak_Interface_ACT_STR},
{NB_CATALOG_STRINGS,(STRPTR)NB_CATALOG_STRINGS_STR},
};
#endif /* CATCOMP_ARRAY */
/****************************************************************************/
#ifdef CATCOMP_BLOCK
static const char CatCompBlock[] =
{
"\x00\x00\x00\x00\x00\x2E"
COPYRIGHT_STRING_STR "\x00"
"\x00\x00\x00\x01\x00\x08"
TOGGLES_STRING_STR "\x00"
"\x00\x00\x00\x02\x00\x14"
INCLUSION_PATTERNS_STRING_STR "\x00\x00"
"\x00\x00\x00\x03\x00\x0E"
MISCELLANEOUS_STRING_STR "\x00"
"\x00\x00\x00\x04\x00\x0A"
TIMEOUT_STRING_STR "\x00\x00"
"\x00\x00\x00\x05\x00\x06"
HIDE_STRING_STR "\x00\x00"
"\x00\x00\x00\x06\x00\x06"
QUIT_STRING_STR "\x00\x00"
"\x00\x00\x00\x07\x00\x0A"
AUTOPOINT_STRING_STR "\x00"
"\x00\x00\x00\x08\x00\x0E"
KEY_ACTIVATE_STRING_STR "\x00\x00"
"\x00\x00\x00\x09\x00\x10"
CLICK_TO_FRONT_STRING_STR "\x00\x00"
"\x00\x00\x00\x0A\x00\x0E"
CLICK_TO_BACK_STRING_STR "\x00"
"\x00\x00\x00\x0B\x00\x10"
SCREEN_TO_BACK_STRING_STR "\x00\x00"
"\x00\x00\x00\x0C\x00\x0A"
WILD_STAR_STRING_STR "\x00"
"\x00\x00\x00\x0D\x00\x10"
SCREEN_ACTIVATE_STRING_STR "\x00"
"\x00\x00\x00\x0E\x00\x10"
AUTOPOPTOFRONT_STRING_STR "\x00\x00"
"\x00\x00\x00\x0F\x00\x12"
MOUSEBLANK_METHOD_STRING_STR "\x00"
"\x00\x00\x00\x10\x00\x06"
NONE_STRING_STR "\x00\x00"
"\x00\x00\x00\x11\x00\x08"
SPRITES_STRING_STR "\x00"
"\x00\x00\x00\x12\x00\x08"
COPPER_STRING_STR "\x00\x00"
"\x00\x00\x00\x13\x00\x0E"
RMB_ACTIVATE_STRING_STR "\x00\x00"
"\x00\x00\x00\x14\x00\x10"
EDIT_HOTKEYS_STRING_STR "\x00"
"\x00\x00\x00\x15\x00\x0C"
AUTOSCREENS_STRING_STR "\x00"
"\x00\x00\x00\x16\x00\x0E"
CLICKSCREENS_STRING_STR "\x00\x00"
"\x00\x00\x00\x17\x00\x0C"
POPWINDOWS_STRING_STR "\x00\x00"
"\x00\x00\x00\x18\x00\x0E"
CLICKWINDOWS_STRING_STR "\x00\x00"
"\x00\x00\x00\x19\x00\x0C"
CLICKVOLUME_STRING_STR "\x00"
"\x00\x00\x00\x1A\x00\x0E"
SCREENTIMEOUT_STRING_STR "\x00"
"\x00\x00\x00\x1B\x00\x0E"
MOUSETIMEOUT_STRING_STR "\x00\x00"
"\x00\x00\x00\x1C\x00\x08"
PROJECT_STRING_STR "\x00"
"\x00\x00\x00\x1D\x00\x0E"
LOAD_SETTINGS_STRING_STR "\x00"
"\x00\x00\x00\x1E\x00\x02"
LOAD_SHORTCUT_STR "\x00"
"\x00\x00\x00\x1F\x00\x0E"
SAVE_SETTINGS_STRING_STR "\x00"
"\x00\x00\x00\x20\x00\x02"
SAVE_SHORTCUT_STR "\x00"
"\x00\x00\x00\x21\x00\x0C"
HIDE_WINDOW_STRING_STR "\x00"
"\x00\x00\x00\x22\x00\x02"
HIDE_SHORTCUT_STR "\x00"
"\x00\x00\x00\x23\x00\x02"
QUIT_SHORTCUT_STR "\x00"
"\x00\x00\x00\x24\x00\x08"
Credits_STRING_STR "\x00"
"\x00\x00\x00\x25\x00\x0E"
Credits_Line1_STRING_STR "\x00\x00"
"\x00\x00\x00\x26\x00\x10"
Credits_Line2_STRING_STR "\x00"
"\x00\x00\x00\x27\x00\x0A"
Credits_Line3_STRING_STR "\x00\x00"
"\x00\x00\x00\x28\x00\x0E"
Credits_Line4_STRING_STR "\x00\x00"
"\x00\x00\x00\x29\x00\x12"
Credits_Line5_STRING_STR "\x00\x00"
"\x00\x00\x00\x2A\x00\x14"
HOTKEY_DEFINITIONS_STRING_STR "\x00\x00"
"\x00\x00\x00\x2B\x00\x0A"
HOTKEYS_STRING_STR "\x00\x00"
"\x00\x00\x00\x2C\x00\x0A"
ACTIONS_STRING_STR "\x00\x00"
"\x00\x00\x00\x2D\x00\x0A"
ARGUMENT_STRING_STR "\x00"
"\x00\x00\x00\x2E\x00\x0A"
OPTIONS_STRING_STR "\x00\x00"
"\x00\x00\x00\x2F\x00\x12"
NO_SCREEN_CHANGE_STRING_STR "\x00\x00"
"\x00\x00\x00\x30\x00\x14"
WORKBENCH_TO_FRONT_STRING_STR "\x00\x00"
"\x00\x00\x00\x31\x00\x18"
DEFAULT_PUBSCR_TO_FRONT_STRING_STR "\x00"
"\x00\x00\x00\x32\x00\x06"
ADD_STRING_STR "\x00\x00"
"\x00\x00\x00\x33\x00\x08"
DELETE_STRING_STR "\x00"
"\x00\x00\x00\x34\x00\x0C"
RETURN_STRING_STR "\x00\x00"
"\x00\x00\x00\x35\x00\x0C"
DOS_Command_ACT_STR "\x00"
"\x00\x00\x00\x36\x00\x0E"
Close_Window_ACT_STR "\x00\x00"
"\x00\x00\x00\x37\x00\x0C"
Zip_Window_ACT_STR "\x00\x00"
"\x00\x00\x00\x38\x00\x0E"
Shrink_Window_ACT_STR "\x00"
"\x00\x00\x00\x39\x00\x0E"
Expand_Window_ACT_STR "\x00"
"\x00\x00\x00\x3A\x00\x0E"
Cycle_Windows_ACT_STR "\x00"
"\x00\x00\x00\x3B\x00\x0E"
Open_Palette_ACT_STR "\x00\x00"
"\x00\x00\x00\x3C\x00\x10"
Screen_to_Front_ACT_STR "\x00"
"\x00\x00\x00\x3D\x00\x10"
Screen_to_Back_ACT_STR "\x00\x00"
"\x00\x00\x00\x3E\x00\x14"
Activate_Workbench_ACT_STR "\x00\x00"
"\x00\x00\x00\x3F\x00\x0E"
Centre_Screen_ACT_STR "\x00"
"\x00\x00\x00\x40\x00\x0E"
Blank_Display_ACT_STR "\x00"
"\x00\x00\x00\x41\x00\x0C"
Insert_Text_ACT_STR "\x00"
"\x00\x00\x00\x42\x00\x0C"
Insert_Date_ACT_STR "\x00"
"\x00\x00\x00\x43\x00\x14"
Show_Yak_Interface_ACT_STR "\x00\x00"
"\x00\x00\x00\x44\x00\x02"
NB_CATALOG_STRINGS_STR "\x00\x00"
};
#endif /* CATCOMP_BLOCK */
/****************************************************************************/
struct LocaleInfo
{
APTR li_LocaleBase;
APTR li_Catalog;
};
#ifdef CATCOMP_CODE
STRPTR GetString(struct LocaleInfo *li, LONG stringNum)
{
LONG *l;
UWORD *w;
STRPTR builtIn;
l = (LONG *)CatCompBlock;
while (*l != stringNum)
{
w = (UWORD *)((ULONG)l + 4);
l = (LONG *)((ULONG)l + (ULONG)*w + 6);
}
builtIn = (STRPTR)((ULONG)l + 6);
#define XLocaleBase LocaleBase
#define LocaleBase li->li_LocaleBase
if (LocaleBase)
return(GetCatalogStr(li->li_Catalog,stringNum,builtIn));
#define LocaleBase XLocaleBase
#undef XLocaleBase
return(builtIn);
}
#endif /* CATCOMP_CODE */
/****************************************************************************/
#endif /* POPUP_LOCALE_STRINGS_H */